<%@ page language="java" import="java.util.*" pageEncoding="Utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<div id="myheader">
<div class="fr headerbar">
	<div class="fr tophotline">
	<s:if test="#session.userName!=null">
	<a href="${pageContext.request.contextPath}/view/index.action"  class="topmenu">首页</a>
	<span class="topmenu">欢迎您，<a href="${pageContext.request.contextPath}/view/member/index.action">${userName}</a></span>
	<a href="${pageContext.request.contextPath}/view/member/loginOut.action" class="topmenu" >退出</a>
	
	</s:if>
	<s:else>
	<a href="${pageContext.request.contextPath}/view/index.action"  class="topmenu">首页</a>
	<a href="${pageContext.request.contextPath}/view/member/reg.jsp"  class="topmenu">会员注册</a>
	<a href="${pageContext.request.contextPath}/view/member/login.jsp"  id="customerlogin" class="topmenu">会员登录</a>
	</s:else>
	 </div>
</div>
<div class="fl logo"><a href="${pageContext.request.contextPath}/" title=""><img src="${pageContext.request.contextPath}/common/image/logo.png" /></a></div>
</div>